package com.net.common.entity;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Setter
@Getter
public class HttpCarrier implements Serializable {

    private static final long serialVersionUID = 1L;

    private String method;

    private String uri;

    private String httpSessionId;

    private String cacheKey;

    private Long timestamp;

    public HttpCarrier(String method, String uri, String httpSessionId, String cacheKey, Long timestamp) {
        this.method = method;
        this.uri = uri;
        this.httpSessionId = httpSessionId;
        this.cacheKey = cacheKey;
        this.timestamp = timestamp;
    }
}
